home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / standards / ansi / X3T9 / area13 / pdiag.doc < prev    next >
Encoding:
Text File  |  1992-05-12  |  8.5 KB  |  265 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      A D A P T E C                                     A D A P T E C
  6.  
  7.  
  8.           DATE:     December 2, 1989
  9.  
  10.           TO:       Dal Allan
  11.  
  12.           FROM:     Tom Newman (Adaptec, Inc)
  13.  
  14.           SUBJECT:  ATA PDIAG and DASP Timing
  15.  
  16.          ----------------------------------------------------------------------
  17.  
  18.  
  19.  
  20.           This document describes the following timing conditions to be
  21.           included in the ATA specification:
  22.  
  23.           o  Power-on Reset
  24.                -  One drive
  25.                -  Two drives
  26.  
  27.           o  Soft Reset
  28.                - One drive
  29.                - Two drives
  30.  
  31.           o  Diagnostic Command
  32.                - One drive
  33.                - Two drives
  34.                - Two drives -- drive 1 failed
  35.  
  36.  
  37.           The timings assume the following:
  38.           o    DASP- is driven by Drive 1 and received by Drive 0 at Power-on
  39.                Reset time to indicate the present of Drive 1.  At all other
  40.                times it is driven by Drive 0 and Drive 1 as the LED BUSY
  41.                indicator.
  42.  
  43.           o    PDIAG- is driven by Drive 1 and received by Drive 0.  It is
  44.                used by Drive 1 to tell Drive 0 that it has passed diagnostics
  45.                and is ready to accept commands from the Host (BUSY bit is
  46.                cleared).  This does not indicate that the drive is Ready,
  47.                only that it can accept commands.  This line may remain
  48.                asserted until the next Reset or Diagnostic command is
  49.                received.
  50.  
  51.           o    Unless  indicated otherwise,  all  times are  relative  to the
  52.                event  that   trigger  the  operation   (RESET-,  Soft  Reset,
  53.                Diagnostic Command written).
  54.  
  55.  
  56.           POWER-ON RESET -- ONE DRIVE          POWER-ON RESET -- ONE DRIVE
  57.  
  58.           --   RESET- asserted for a minimum of 300 nsecs.
  59.           --   Drive 0 sets BUSY within 400 nsecs. after RESET- is negated.
  60.           --   DASP- negated within 1 msec. after RESET- negated.
  61.           --   Perform hardware initialization
  62.  
  63.  
  64.  
  65.                                            1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.           --   Reverts to default condition
  72.           --   Drive 0 waits 1 msec. then samples 500 msecs. for DASP-
  73.                asserted from Drive 1.
  74.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  75.                seconds).
  76.  
  77.  
  78.           POWER-ON RESET -- TWO DRIVES          POWER-ON RESET -- TWO DRIVES
  79.  
  80.           --   RESET- asserted for a minimum of 300 nsecs.
  81.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after RESET-
  82.                negated.
  83.           --   DASP- negated within 1 msec. after RESET- negated.
  84.  
  85.           -DRIVE 1
  86.  
  87.           --   Negate PDIAG- before DASP- is asserted.
  88.           --   Assert DASP- within 500 msecs after RESET- (shows Drive 1
  89.                present).
  90.           --   Perform hardware initialization/internal diagnostics.
  91.           --   Revert to default condition
  92.           --   Post diagnostic results to the ERROR register
  93.           --   Clear BUSY when ready to accept commands.
  94.           --   Assert PDIAG- to show ready to accept commands (within 30
  95.                seconds from RESET-).
  96.           --   Negate DASP- after the first command is received for Drive 1.
  97.                DASP- is also negated if no command is received for Drive 1
  98.                within 30 seconds after RESET-.
  99.  
  100.           --DRIVE 0
  101.  
  102.           --   Perform hardware initialization/internal diagnostics.
  103.           --   Revert to default condition
  104.           --   Post diagnostic results to the ERROR register
  105.           --   After 1 msec., wait 500 msecs. for DASP- to be asserted (from
  106.                Drive 1).
  107.                If DASP- is not asserted, no Drive 1 present (see POWER-ON
  108.                RESET -- ONE DRIVE operation).
  109.           --   Wait up to 31 seconds for Drive 1 to assert PDIAG-,
  110.                If PDIAG- is not asserted, set bit 7 in ERROR register.
  111.           --   Clear BUSY when ready to accept commands (within 31 seconds).
  112.  
  113.  
  114.           SOFT RESET -- ONE DRIVE          SOFT RESET -- ONE DRIVE
  115.  
  116.           --   Soft Reset (register 3F6) set by Host.
  117.           --   Wait for Soft Reset cleared by Host.
  118.           --   Drive 0 sets BUSY within 400 nsecs. after Soft Reset is
  119.                cleared.
  120.           --   Perform hardware initialization/internal diagnostics.
  121.           --   Revert to default condition
  122.           --   Post diagnostic results to the ERROR register
  123.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  124.                seconds).
  125.  
  126.  
  127.           SOFT RESET -- TWO DRIVES          SOFT RESET -- TWO DRIVES
  128.  
  129.  
  130.  
  131.                                            2
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.           --   Soft Reset (register 3F6) set by Host.
  139.           --   Wait for Soft Reset cleared by Host.
  140.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after Soft
  141.                Reset is cleared.
  142.           --   Perform hardware initialization
  143.           --   Revert to default condition
  144.  
  145.           -DRIVE 1
  146.  
  147.           --   Clear BUSY when ready to accept commands.
  148.           --   Negate PDIAG- to show ready to accept commands (within 30
  149.                seconds).
  150.  
  151.           --DRIVE 0
  152.  
  153.           --   Wait up to 31 seconds for Drive 1 to assert PDIAG-.
  154.           --   Clear BUSY when ready to accept commands (within 31 seconds).
  155.  
  156.  
  157.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Passed)          DIAGNOSTIC COMMAND  -- ONE DRIVE (Passed)
  158.  
  159.           --   Drive 0 sets BUSY within 400 nsecs. after Diagnostic command
  160.                received.
  161.           --   Perform hardware initialization and internal diagnostics.
  162.           --   Reset Command Block registers to default condition.
  163.           --   Post diagnostic results to the ERROR register
  164.           --   Drive 0 clears BUSY when ready to accept commands (within 31
  165.                seconds).
  166.  
  167.  
  168.           DIAGNOSTIC COMMAND -- TWO DRIVES (Passed)          DIAGNOSTIC COMMAND -- TWO DRIVES (Passed)
  169.  
  170.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after
  171.                Diagnostic command received.
  172.  
  173.           --DRIVE 1
  174.  
  175.           --   Negate PDIAG- within 1 msec. after command received.
  176.           --   Perform hardware initialization and internal diagnostics.
  177.           --   Reset Command Block registers to default condition.
  178.           --   Post diagnostic results to the ERROR register
  179.           --   Clear BUSY when ready to accept commands.
  180.           --   Negate PDIAG- to show ready to accept commands (within 5
  181.                seconds).
  182.  
  183.           --DRIVE 0
  184.  
  185.           --   Perform hardware initialization and internal diagnostics.
  186.           --   Reset Command Block registers to default condition.
  187.           --   Wait up to 6 seconds for Drive 1 to assert PDIAG-.
  188.           --   Post diagnostic results to the ERROR register
  189.           --   Clear BUSY when ready to accept commands (within 6 seconds).
  190.  
  191.  
  192.           DIAGNOSTIC COMMAND  -- ONE DRIVE (Failed)          DIAGNOSTIC COMMAND  -- ONE DRIVE (Failed)
  193.  
  194.  
  195.  
  196.  
  197.                                            3
  198.  
  199.  
  200.  
  201.  
  202.  
  203.           --   Drive 0 sets BUSY within 400 nsecs. after Diagnostic command
  204.                received.
  205.           --   Perform hardware initialization and internal diagnostics.
  206.           --   Reset Command Block registers to default condition.
  207.           --   Post diagnostic error to the ERROR register (failed)
  208.           --   Drive 0 clears BUSY when ready to accept commands (within 6
  209.                seconds)
  210.  
  211.  
  212.           DIAGNOSTIC COMMAND -- TWO DRIVES (Drive 1 Failed)          DIAGNOSTIC COMMAND -- TWO DRIVES (Drive 1 Failed)
  213.  
  214.           --   Drive 0 and Drive 1 set BUSY within 400 nsecs. after
  215.                Diagnostic command received.
  216.  
  217.           -DRIVE 1
  218.  
  219.           --   Negate PDIAG- within 1 msec. after command received.
  220.           --   Perform hardware initialization and internal diagnostics.
  221.           --   Reset Command Block registers to default condition.
  222.           --   Post diagnostic error to the ERROR register
  223.           --   Clear BUSY.
  224.           --   PDIAG- is not negated indicating Drive 1 failed.
  225.  
  226.           --DRIVE 0
  227.  
  228.           --   Perform hardware initialization and internal diagnostics.
  229.           --   Reset Command Block registers to default condition.
  230.           --   Wait 6 seconds for Drive 1 to assert PDIAG- (PDIAG- is not
  231.                asserted).
  232.           --   Post diagnostic results to the ERROR register (bit 7 is set
  233.                showing that Drive 1 failed diagnostics).
  234.           --   Clear BUSY when ready to accept commands (within 6 seconds).
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.                                            4
  264.